<include file="Public:header" />
<div class="page-member subpage">
    <div class="form-header">
        <div>
            <div class="line1">
                <div class="fl"><h3>租金缴纳详情 / {$payments.name}（{$payments.state}）</h3></div>
                <div class="fr hidden">
                    <form class="search-form" method="post" action="">
                        <input name="field" value="{$context.field}" type="hidden" />
                        <input name="value" value="{$context.value}" type="hidden" />
                        <input name="type" value="{$context.type}" type="hidden" />
                        <input name="page" value="{$context.page}" type="hidden" />
                        <input name="order_field" value="{$context.order_field}" type="hidden" />
                        <input name="order_sort" value="{$context.order_sort}" type="hidden" />
                        <input name="offset" value="{$context.offset}" type="hidden" />
                        <input name="id" value="{$context.id}" type="hidden" />
                    </form>
                </div>
            </div>
            <div class="line2">
                <!-- 编辑按钮组 -->
                <div class="fl form-btn-group btn-group-edit">
                    <in name="$x|default='02-01-07'" value="$rightsCode">
                        <button onclick="action_edit();" class="btn-save btn-highlight">录入发票</button>
                        <else />
                        <button disabled="disabled" class="btn-save btn-disable">录入发票</button>
                    </in>
                    <span>或</span>
                    <a class="linkBtn btn-abort" href="javascript:history.go(-1);">返回</a>
                </div>
                <!-- 保存按钮组 -->
                <div class="fl form-btn-group btn-group-save hidden">
                    <button onclick="action_save();" class="btn-save btn-highlight">保 存</button>
                    <span>或</span>
                    <a class="linkBtn btn-abort" onclick="action_abort();" href="javascript:void(0);">放弃</a>
                </div>
                <div class="fl form-btn-more">
                    <button class="btn-normal btn-more">
                        更多操作<i class="drop-down"></i>
                    </button>
                </div>
                <div class="fr form-search-count">
                    <span class="index">{$context.index}/{$page.total}</span>
                    <button onclick="ItemJump({$page.prev.id}, {$page.prev.offset});" class="btn-normal">上一条</button>
                    <button onclick="ItemJump({$page.next.id}, {$page.next.offset});" class="btn-normal">下一条</button>
                </div>
            </div>
        </div>
    </div>
    <div class="form-box2">
        <div>
            <form id="paymentsForm" method="post" action="">
                <!--表单相关原始信息存储-->
                <input type="hidden" name="old_invoice" value="{$payments.invoice}" />
                <input type="hidden" name="old_invoice_date" value="{$payments.invoice_date}" />
                <input type="hidden" name="old_remarks" value="{$payments.remarks}" />
                <table class="form">
                    <tr>
                        <th width="15%">支付类型</th>
                        <td width="35%" field="amount">{$payments.ptype}</td>
                        <th width="15%">小区名称</th>
                        <td field="community">{$payments.community}</td>
                    </tr>
                    <tr>
                        <th>房源编号</th>
                        <td field="house_addr">{$payments.house_addr}</td>
                        <th>缴费金额</th>
                        <td field="payer">{$payments.amount}</td>
                    </tr>
                    <tr>
                        <th>缴费人姓名</th>
                        <td field="payer">{$payments.payer}</td>
                        <th>缴费人身份证</th>
                        <td field="payer_idno">{$payments.payer_idno}</td>
                    </tr>
                    <tr>
                        <th>起始日期</th>
                        <td field="date1">{$payments.date1}</td>
                        <th>结束日期</th>
                        <td field="date2">{$payments.date2}</td>
                    </tr>
                    <tr>
                        <th>缴费状态</th>
                        <td field="state">{$payments.state}</td>
                        <th>缴费日期</th>
                        <td field="pdate">{$payments.pdate}</td>
                    </tr>
                    <tr>
                        <th>减免类型</th>
                        <td field="dtype">{$payments.dtype|default='无减免'}</td>
                        <th>备注</th>
                        <td field="remarks">{$payments.remarks}</td>
                    </tr>
                    <tr>
                        <th>发票编号</th>
                        <td field="invoice">{$payments.invoice}</td>
                        <th>发票录入日期</th>
                        <td field="invoice_date">{$payments.invoice_date}</td>
                    </tr>
                    <tr>
                        <th>操作人</th>
                        <td field="cuser">{$payments.cuser}</td>
                        <th>操作时间</th>
                        <td field="ctime">{$payments.ctime|date='Y/m/d',###}</td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
<script src="__JS__/payments.js?v=0.5" type="text/javascript" ></script>
<include file="Public:footer" />
